package com.sixiaojie.flink.repository;

import com.sixiaojie.flink.domain.UserBehaviorSummary;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface UserBehaviorSummaryRepository extends JpaRepository<UserBehaviorSummary, Long> {
    Optional<UserBehaviorSummary> findByUserIdAndDate(Long userId, String date);
}